local CommonOHOH = _G.CommonOHOH;
local M = CommonOHOH.class.new(script, CommonOHOH.files.SFAnimationBase());


function M.new(self,...)
	assert(self, "param model is nil");
	return M(self,...);
end;

function M.ctor(self, ...)
	M.super.ctor(self, ...);
end;

function M.dtor(self)
	M.super.dtor(self);
end;


function M.PlayInit(self)
	self.main_inst.Size = UDim2.new(self.playData.columns,0,self.playData.rows,0) 
	--warn("++++++++++++PlayInit UICFrame+++++++++++++++++++++")
end

function M.SpriteUpdate(self,CurrentColumn,CurrentRow)
	self.main_inst.Position = UDim2.new(-(CurrentColumn-1),0,-(CurrentRow-1),0)
end

return M